<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>会员中心 - ${title}</title> 
        <link type="text/css" rel="stylesheet" href="/res/front/css/sytle/user-css/user_message.css" />
<!-- <link rel="stylesheet" href="/res/front/css/sytle/jquery-ui-css/jquery-ui.css" />
<script type="text/javascript" src="/res/front/js/js/jquery-1.5.1.js"></script>-->
<#include "/front/head.html"/>
        <link rel="shortcut icon" type="image/x-icon" href="${base}/res/front/img/imagesForFront/favicon.ico" />
		<script type="text/javascript">
        	$(function() {
        		$('table tbody tr:odd').css('background-color','#f6fbff');
        		$('table tbody tr:even').css('background-color','#ffffd5');
				
        		<#list pagination.list as c>
					$( "#d${c.fiid}" ).dialog({
						autoOpen: false,
						modal: true,
						show: "blind",
						hide: "explode",
						width: 980,
						height: 500,
						buttons : {
						"关闭" : function (){
							$("#d${c.fiid}").dialog ("close");}
							}
					});
					$( "#${c.fiid}" ).click(function() {
						$( "#d${c.fiid}" ).dialog( "open" );
						return false;
					});
				</#list>
				
				$( document ).tooltip({
					track: true
				});
			});
        </script>
	</head>
<!---------- 融资列表页面\ROOT\WEB-INF\front\member\financeList.html ---------->
	<body>
    	<!-- 头部 header.html -->
    	<#include "/front/common/header.html"/>
        <!-- 中部 -->
    	<div class="memeber_middle">
        	<div class="member_location_div">
                <span>
                    <b><a href="/index.jspx">首页</a></b>&nbsp;>
                    <b>投资管理</b>&nbsp;>
                    <b>融资列表</b>
                </span>
            </div>
        	<div class="memeber_record_centre">
                <!-- 左边目录 -->
                <div class="memeber_left_nav_div">
                    <#include "/front/member/会员中心页_导航.html"/>
                </div>
                <!-- 右边目录明细 -->
                <div class="finance_record_right_detail_div">
                	<div class="financeList_div">
                    	<div class="financeList_title_header"><b>融资列表</b></div>
                        <div class="finance_list_div">
                            <table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
                                <thead>
                                    <tr>
                                    	<td width="80" height="35"  align="center">融资标的ID</td>
                                        <td width="170"  align="center">融资关键字</td>
                                        <td width="110"  align="center">融资金额</td>
                                        <td width="55"  align="center">年利率</td>
                                        <td width="110"  align="center">融资标的状态</td>
                                        <td width="110"  align="center">下一还款日期</td>
                                        <td width="110"  align="center">下一还款金额</td>
                                        <td width="130"  align="center">操作</td>
                                    </tr>
                                </thead>
                                <tbody>
                                    <#list pagination.list as c>
                                        <tr>
                                        	<td height="35" align="center" >${c.fiid!?html}</td>
                                            <td title="${c.financekey!?html}">${c.financekey!?html}</td>
                                            <td align="center">${c.financeamount!?string.currency}</td>
                                            <td align="center">#{(c.financepa!*100); m2M2}%</td>
                                            <td align="center">
                                                <#list fstatusMap?keys as idKey>
                                                    <#if idKey==c.status!?string> 
                                                    	${fstatusMap[idKey]}
                                                    </#if>
                                                </#list>
                                            </td>
                                            <td align="center"> <#if (c.nrdate)?? >${c.nrdate?string('yyyy-MM-dd')}
                                            	<#else>
                                            	&nbsp;
                                            </#if> </td>
                                            <td align="center"> 
                                            <#if c.targettype==8>
                                            	${(c.alino!0)?string.currency}
                                            <#else>
	                                            <#if (c.subpri)?? >${(c.subpri+c.alino+c.mftba)?string.currency}
	                                            <#else>
	                                            	&nbsp;
	                                            </#if>
                                            </#if>
                                             </td>

                                            <td align="center" >		
                                            	<a href="" class="pn-opt" id="${c.fiid}" style="color:#69F;">还款详情</a>&nbsp;
                                            	<a href="/member/v_tfinanceinfoDetail2.jspx?fiid=${c.fiid}" target="_blank" class="fin_td_1">标的详情</a><br/>
                                            	<#if c.status==12||c.status==-1>
                                            	&nbsp;&nbsp;&nbsp;&nbsp;<a href="/member/v_tfinanceinfoInfo.jspx?fiid=${c.fiid}" class="pn-opt" style="color:#69F;">修改</a>&nbsp;&nbsp;&nbsp;&nbsp;
                                            	<#else>
                                            	&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" class="pn-opt" style="color:lightgray;">修改</a>&nbsp;&nbsp;&nbsp;&nbsp;
                                            	</#if>
                                            	<#if c.status==12>
                                            	<a href="/member/o_tfinanceinfoDelete.jspx?ids=${c.fiid}" class="pn-opt" style="color:#69F;" onclick="return confirm('是否删除')">删除草稿</a>
											    <#else>
												<a href="#" class="pn-opt" style="color:lightgray;">删除草稿</a>
												</#if>
                                            </td>
                                        </tr>
                                    </#list>
                            	</tbody>
                            </table>
                        </div>
                        <#list pagination.list as c>
                            <!-- 融资详细dialog -->
                            <div id="d${c.fiid}" title="融资标的信息表" class="fin_dialog">
                                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                   <tr>      
				                        <td height="45" align="right">会员：</td>
				                        <td width="300">${c.tmember.loginname!?html}</td>
				                        <td align="right" width="190">融资标的ID：</td>
				                        <td width="200">${c.fiid!?html}</td>
				                    </tr>     
                                    <tr>      
                                        <td height="45" align="right">融资关键字：</td>
                                        <td width="300">${c.financekey!?html}</td>
                                        <td align="right" width="190">融资用途：</td>
                                        <td width="200">${c.financeuse!?html}</td>
                                    </tr>   
                                    <tr>      
                                        <td height="45" align="right">融资金额：</td>
                                        <td>${(c.financeamount!0)?string.currency}</td>
                                        <td align="right">资金使用期限：</td>
                                        <td>
                                            <#if (c.financeallotedtime<30)> 
                                                ${c.financeallotedtime}
                                                <span>日</span>
                                            <#else>
                                                ${c.financeallotedtime/30}
                                                <span>个月</span>
                                            </#if>
                                        </td>
                                    </tr>   
                                    <tr>      
                                        <td align="right" height="45">年利率：</td>
                                        <td>#{(c.financepa!*100); m2M2}%</td>
                                        <td align="right">还款周期：</td>
                                        <td>
                                            <#list repaymentperiodMap?keys as idKey>
                                                <#if idKey==c.repaymentperiod!?string> 
                                                    ${repaymentperiodMap[idKey]}
                                                </#if>
                                            </#list>
                                        </td>
                                    </tr>   
                                    <tr>      
                                        <td align="right" height="45">还款方式：</td>
                                        <td>
                                            <#list repaymentmodMap?keys as idKey><#if idKey==c.repaymentmod!?string> ${repaymentmodMap[idKey]}</#if></#list>
                                        </td>
                                        <td align="right">融资期限（截止日期）：</td>
                                        <td>
                                            <#if (c.financelimit)?? >${c.financelimit?string('yyyy-MM-dd')}</#if>
                                        </td>
                                    </tr>   
                                    <tr>      
                                        <td align="right" height="45">融资情况描述：</td>
                                        <td>${c.financedescription!?html}</td>
                                        <td align="right">融资标的状态：</td>
                                        <td>
                                            <#list fstatusMap?keys as idKey><#if idKey==c.status!?string> ${fstatusMap[idKey]}</#if></#list>
                                        </td>
                                    </tr>   
                                    <tr>      
                                        <td align="right" height="45">起息日期：</td>
                                        <td>
                                            <#if (c.itfdate)?? >${c.itfdate?string('yyyy-MM-dd')}</#if>
                                        </td>
                                        <td align="right">下一还款日期：</td>
                                        <td>
                                            <#if (c.nrdate)?? >${c.nrdate?string('yyyy-MM-dd')}</#if>
                                            &nbsp;
                                        </td>
                                    </tr>   
                                    <tr>      
                                        <td align="right" height="45"> 借款服务费比例：</td>
                                        <td>${(c.plsf!0)*100}%</td>
                                        <td align="right">借款管理费费率：</td>
                                        <td>${(c.mfrl!0)*100}%</td>
                                    </tr>   
                                    <tr>      
                                        <td align="right" height="45">待还本金：</td>
                                        <td>${(c.subpri!0)?string.currency}</td>
                                        <td align="right">待还利息：</td>
                                        <td>${(c.alino!0)?string.currency}</td>
                                    </tr>   
                                    <tr>      
                                        <td align="right" height="45" style="border-bottom:none;">待还管理费：</td>
                                        <td style="border-bottom:none;">${(c.mftba!0)?string.currency}</td>
                                        <td align="right" style="border-bottom:none;"></td>
                                        <td style="border-bottom:none;">&nbsp;</td>
                                    </tr>    
                                </table>
                            </div>    
                        </#list>
                    </div>
                </div>
                
                <div style="clear:both;"></div>
            </div>
        </div>		
		<!-- 底部 -->
		<#include "/front/common/footer.html"/>
	</body>
</html>
